package com.njwb.day18.thd04;

public class TestDemo02 {
    public static void main(String[] args) {
        MyOperator myOperator = new MyOperator();
        MyOperator myOperator2 = new MyOperator();

        MyRunnable myRunnable = new MyRunnable();
        myRunnable.setMyOperator(myOperator);

        MyRunnable myRunnable2 = new MyRunnable();
        myRunnable2.setMyOperator(myOperator2);


        new Thread(myRunnable,"数字线程").start();
        new Thread(myRunnable2,"字母线程").start();



    }

}
